package com.todo.strategy.online.service.api.pipeline;

import com.todo.common.common.entity.response.BizResponse;
import com.todo.strategy.online.service.api.pipeline.request.InsertPlanRelationRequest;
import com.todo.strategy.online.service.api.pipeline.request.RemovePlanRelationRequest;
import com.todo.strategy.online.service.api.pipeline.request.UpdatePlanRelationRequest;

/**
 * @author azhebuxing
 * @date 2025/3/1 17:10
 * @description
 */
public interface PlanRelationPipelineApi {
    /**
     * 插入计划关联
     *
     * @param request
     * @return
     */
    BizResponse<Boolean> insertPlanRelation(InsertPlanRelationRequest request);

    /**
     * 更新计划关联
     *
     * @param request
     * @return
     */
    BizResponse<Boolean> updatePlanRelation(UpdatePlanRelationRequest request);

    /**
     * 删除计划关联
     *
     * @param request
     * @return
     */
    BizResponse<Boolean> removePlanRelation(RemovePlanRelationRequest request);
}
